import Document, {Html, Head, Main, NextScript, DocumentContext} from 'next/document';
import * as React from "react";

class MyDocument extends Document {
	static async getIntialProps(ctx: DocumentContext) {
		const props = await Document.getInitialProps(ctx);
		return {
			...props
		};
	}

	render() {
		return (
			<Html>
				<Head>
					<meta name="viewport" content="width=device-width, initial-scale=1"/>
					<meta charSet="utf-8"/>
				</Head>

				<body>
				<Main></Main>
				<NextScript></NextScript>
				</body>
			</Html>

		);
	}
}

export default MyDocument;
